<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
<html 
	xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"> 

	<ui:component>
		<table class="results" id="MessageRouterStatistics">
			<thead>
				<tr>
					<th colspan="2"><h:outputText value="#{msgs['router.content.title']}" /></th>
				</tr>								
				<tr>
					<h:panelGroup rendered="#{routerBean.started}">
						<td><h:outputText value="#{msgs['router.content.item']}" /></td>
						<td><h:outputText value="#{msgs['router.content.value']}" /></td>
					</h:panelGroup>
					<h:panelGroup rendered="#{!routerBean.started}">					
						<td colspan="2">
						<h:outputText value="#{msgs['general.notavailable']}" />
						</td>
					</h:panelGroup>
				</tr>
			</thead>
			<h:panelGroup rendered="#{routerBean.started}">
			<tbody class="results">
				<tr class="odd">
					<td><h:outputText value="#{msgs['router.content.active']}" /></td>
					<td><h:outputText value="#{routerBean.status}" /></td>				
				</tr>
				<tr class="even">
					<td><h:outputText value="#{msgs['router.content.startdate']}" /></td>
					<td><h:outputText value="#{routerBean.startdate}" /></td>				
				</tr>
			</tbody>
			</h:panelGroup>
		</table>
		<br/>
		<br/>
	
	
	</ui:component>
</html>	